home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / cad / lasi512b.zip / CNVRTGDS.LHI < prev    next >
Text File  |  1996-04-04  |  32KB  |  673 lines

  1. ≡≡
  2.  
  3. Introduction
  4.  
  5.  Introduction
  6.  
  7.                  TLC2GDS and GDS2TLC Conversion Utilities
  8.                  ----------------------------------------
  9.  
  10.   LASI drawings are not very useful if they cannot be converted to a
  11.   commonly used CAD format, for mask generation or for transfer to another
  12.   CAD system. The most common is formally called Calma Stream Format, which
  13.   is also know as GDSII (Graphic Design System II), or just GDS. Although
  14.   Calma drawing systems for ICs have become pretty obsolete, the data
  15.   format survives, and most pattern generators accept it, and newer CAD
  16.   systems such as CADENCE or MENTOR can usually convert it. LASI can be
  17.   converted to GDS Format exactly, and from GDS with some limitations.
  18.  
  19.   LASI has a drawing structure that is very similar to the Calma drawing
  20.   system, with the exception that LASI has box objects and is more limited
  21.   in its data capacity and cell nesting depth. With LASI, cells are similar
  22.   to Calma structures, except that a certain rank is given to a cell. With
  23.   LASI there are no Calma boundary items, instead there are zero width
  24.   paths usually called poly. LASI drawings transform easily into GDS
  25.   because a box can be made into a boundary, a poly can become a boundary
  26.   also, a path can transform directly into a path, and cells can easily
  27.   become structures.
  28.  
  29.   Since there can be more or less an infinite number of TLC files, a GDS
  30.   file with almost any number of structures can be converted to TLC files.
  31.   The TLC files can then be selectively converted into LASI drawings.
  32.   Likewise, a large collection of TLC files can be selectively converted
  33.   into a GDS file.
  34.  
  35.   TLC2GDS.EXE is a program that converts a LASI drawing in TLC file format
  36.   into Calma Stream Format. The file generated by TLC2GDS may be put on
  37.   magtape, or more likely, be put on a floppy disk (in MS-DOS file format)
  38.   for reading by pattern generators or work stations that have MS-DOS
  39.   floppy reading capability.
  40.  
  41.   The GDS2TLC.EXE program will read back a GDS file and will construct a
  42.   LASI drawing in TLC form as best as possible. A drawing first done on
  43.   LASI will reconstruct exactly if returned from another drawing system
  44.   without having been modified in some non-compatible way. Drawings made
  45.   originally on other systems may occasionally convert differently, since
  46.   LASI presently doesn't have such things as datatypes, texttypes, arrays
  47.   or layer 0.
  48.  
  49. Converting TLC to GDS (TLC2GDS)
  50.  
  51.  Page 1 - Conversion Setup
  52.  
  53.   Normally run TLC2GDS.EXE in the drawing directory of the drawing to be
  54.   converted.
  55.  
  56.   TLC2GDS will start with the Conversion Setup page. It requires the
  57.   following entries:
  58.  
  59.   ■ Main TLC file to be Converted. This is the TLC file that contains the
  60.     main cell and references to any other lesser cells that may be used in
  61.     that cell. It will automatically have the extension ".TLC".
  62.  
  63.   ■ Name of the GDS File to Make. This is the name that you want for the
  64.     stream format file. You can add an extension other than ".GDS", but if
  65.     you don't add an extension, ".GDS" will be added. If you leave this
  66.     entry blank, it will be given the name of the main TLC file with the
  67.     extension ".GDS".
  68.  
  69.   ■ GDS Drawing Library Name. This is the name to be included in the
  70.     converted GDS file. This is usually for reference, since many
  71.     applications don't require this name.
  72.  
  73.   ■ Physical Units (um or mil). This is name of the units in which the
  74.     drawing has been done. This can only be "um" or "mil", and will default
  75.     to "um".
  76.  
  77.   ■ LASI Units per Phys Units. This is the scale you used in your LASI
  78.     drawing. It is what was set by the SCALE command, and was written into
  79.     the TLC header record when you made your TLC files.
  80.  
  81.     If either Physical Units or LASI Units are left blank, TLC2GDS assumes
  82.     that you want it to read these from header of the Main TLC File. It
  83.     will disregard both of these items from the setup and substitute what
  84.     it reads in the TLC file.
  85.  
  86.   ■ GDS Units per Phys Unit. This is the number of basic units that you
  87.     want to be written into the UNITS record of the GDS file. This number
  88.     should be an INTEGRAL multiple of the LASI units. It is typically 1000
  89.     units per micron, but can vary with applications.
  90.  
  91.     When TLC2GDS runs, it displays a Scale Bar at the bottom of the screen.
  92.     This indicates the GDS units that is being used, the LASI units that
  93.     are being used and the the Rescale Ratio, which is the ratio of GDS
  94.     units to LASI units.
  95.  
  96.     To prevent roundoff errors, the Rescale Ratio should be an INTEGER.
  97.  
  98.     If the Rescale Ratio is not an integer TLC2GDS will display a warning,
  99.     and will convert as accurately as it can.
  100.  
  101.   ■ The Scale Unit LSB Correction. This needs some explanation. This allows
  102.     you to modify the Least Significant Bit of the scale numbers placed in
  103.     the GDS file. This is about 10e-16 of the actual scale, but some
  104.     conversion software (early Cadence for instance) is fussy and requires
  105.     the exact bits. This will normally be 0. If you have trouble, try +1 or
  106.     -1 and see if it fixes the problem.
  107.  
  108.   Note: This correction is applied to all 8-byte real numbers in the stream
  109.     format records. Currently this only affects the UNITS, MAGNITUDE and
  110.     ANGLE records.
  111.  
  112.   ■ X and Y Drawing Offsets. This is the offset to be added to the
  113.     placement of the main cell to be put in the GDS file. This allows you
  114.     to shift your drawing in the GDS file. It is in physical units.
  115.  
  116.     This shift is only applied to the main cell. That is, any lesser cells
  117.     that TLC2GDS also generates are not shifted, since this would cause
  118.     your drawing to be hopelessly distorted.
  119.  
  120.     For example, you may make a LASI drawing using the whole LASI drawing
  121.     area so that you use negative coordinates, but a pattern generator only
  122.     accepts coordinates greater than or equal to zero, you can add offsets
  123.     equal to the most negative drawing coordinates, so that all coordinates
  124.     are positive.
  125.  
  126.   ■ Datatype to Use. This is the GDS Datatype attribute for boundaries,
  127.     etc. This is a parameter that LASI doesn't use. It can be 0-63; usually
  128.     0 is used.
  129.  
  130.   ■ Default Line Width. This is in physical units and is the width that
  131.     open polygons or lines will be given if converted to paths. It works
  132.     only if you convert with the Make Only Proper Poly switch set to "N"
  133.     (see below). This width might have to be set to something greater than
  134.     zero for some other drawing systems to accept the figure. This value
  135.     can be set to zero, but the minimum value greater than zero will be
  136.     limited to two GDS basic units. This may be less than the minimum LASI
  137.     path width, and therefore may not convert back (using GDS2TLC)
  138.     correctly. Set this to zero if you want polygons to unchanged.
  139.  
  140.   ■ Sort in Ascending Rank Order. The structures in the GDS file can be
  141.     sorted by ascending or descending LASI rank. Some programs that use
  142.     stream format may require that the main structure (highest ranking
  143.     cell) come first in the data. Enter "N" if you want structures to be
  144.     sorted so that the main structure comes first in the GDS file, or "Y"
  145.     if you want it to come last.
  146.  
  147.   ■ Convert Text. If you want to convert LASI text, set the switch to "Y".
  148.     Otherwise, text will not be converted. Text conversion is somewhat
  149.     confusing because GDS has several attributes for its text. This is
  150.     explained below under Text Setup.
  151.  
  152.   ■ Convert Names to Lowercase. Some systems into which LASI can be
  153.     converted use lowercase names for the Calma structure names. You can
  154.     have TLC2GDS convert any cell names to lowercase by setting this
  155.     parameter to "Y". Normally this will be "N".
  156.  
  157.   ■ Make Only Proper Poly. This permits checking for polygons that may not
  158.     produce shapes with area that are normally used in an IC or PC board.
  159.     If this switch is set to "Y":
  160.  
  161.     ∙ Boxes with any opposite sides superimposed (crushed boxes) will be
  162.       removed.
  163.     ∙ Polygons with more than 200 vertices (Calma limit) will be reported.
  164.     ∙ Polygons with one vertex (single point) will be removed.
  165.     ∙ Polygons with only two vertices (line segments) will be removed.
  166.     ∙ Open polygons with more than two vertices will be closed.
  167.     ∙ Acute angles in paths or poly (before and after closure) will be
  168.       reported.
  169.  
  170.     Setting this to "N" will permit conversion of open poly figures. If the
  171.     Default Line Width is set to something greater than zero:
  172.  
  173.     ∙ Crushed boxes will be reported but NOT removed.
  174.     ∙ Single points will be removed.
  175.     ∙ Line segments will be changed to paths with the default width.
  176.     ∙ Polygons with more than two vertices will NOT be closed, but will be
  177.       changed to paths with the default width.
  178.     ∙ Acute angles will NOT be checked.
  179.  
  180.     If the Default Line Width is zero, only crushed boxes will be reported.
  181.  
  182.   ■ Relocate Layer 64 to Layer. LASI uses layers 1-64, but Calma uses 0-63.
  183.     you can move anything on layer 64 to any Calma layer 0-63. Usually 0 is
  184.     convenient, but you must be sure that it is an unused layer in your
  185.     LASI drawing.
  186.  
  187.   ■ Filter Single Layer. If the GDS file is going to a pattern generator,
  188.     you might want to make files that contain only one layer. You can set
  189.     this number to any layer from 1 to 64. Boundaries, paths and text ONLY
  190.     ON THAT LAYER will be passed. If you want to pass all layers leave this
  191.     entry blank.
  192.  
  193.   Warning: If you intend to transfer complete drawings in GDS format, be
  194.     sure that the Filter Single Layer entry is blank.
  195.  
  196.   ■ Report Destination. This allows you to print or save a conversion
  197.     report. The parameter must be one of the printers "LPT1","LPT2","LPT3"
  198.     or "PRN" (=LPT1), "FILE" for the file TLC2GDS.RPT or blank for no
  199.     report.
  200.  
  201.   If the Report Destination is blank, and a message occurs, the program
  202.   will pause and wait for a key to be pressed. Otherwise, there will be no
  203.   pause and the message will be written to the report.
  204.  
  205.  Page 2 - Text Setup
  206.  
  207.   Press ALT-T or click "Text" to go to Page 2, the Text Setup Page.
  208.  
  209.   GDS uses several attributes to construct text. TLC2GDS can relate these
  210.   to each of four LASI Text Sizes. Normally, you would assign the Font
  211.   attribute to different text sizes. Notice that there are 4 fonts and 4
  212.   sizes.
  213.  
  214.   The attributes that you use depend on just how you want to distinguish
  215.   different texts. Different applications or conversions to other CAD
  216.   systems will use different attributes. Some experimentation will probably
  217.   be necessary to convert text reasonably correctly.
  218.  
  219.   Note: If your drawing contains text with a size not defined, the text
  220.     will be converted with the attributes of the next SMALLER size.
  221.  
  222.   For the four text sizes, first enter the text size in physical units.
  223.   Then set the following parameters:
  224.  
  225.   ■ Font, which can be 0 to 3. This is written into the PRESENTATION
  226.     record.
  227.  
  228.   ■ Texttype, which can be 0 to 63. This is written to the TEXTTYPE record.
  229.  
  230.   ■ Magnification, which can be used to change text size if the other
  231.     parameters produce text of the same size. This is written to the MAG
  232.     record.
  233.  
  234.   ■ Text Width, which is usually 0, but may have to be set greater than
  235.     zero so that certain CAD systems will accept the text. This is in
  236.     physical units and is limited from 0 to the size of the text. This is
  237.     written to the WIDTH record.
  238.  
  239.   ■ Vertical Justification, which may be set to top, center and bottom (T,C
  240.     or B). LASI text is always left-bottom justified so normally you will
  241.     set this to bottom or "B". This is written to the GDS PRESENTATION
  242.     record.
  243.  
  244.   LASI text will pass its orientation to the GDS text. The orientation is
  245.   written into the ANGLE and STRANS records.
  246.  
  247.  Starting Conversion
  248.  
  249.   When you are happy with the setup, press ALT-G or click "Go" to start
  250.   conversion.
  251.  
  252.   If you have previously run TLC2GDS, there will be a setup file in the
  253.   drawing directory named TLC2GDS.SET. If this is found, the setup
  254.   parameters will be loaded when you first run TLC2GDS, and will be stored
  255.   again as you start the conversion. This saves a great deal of time when
  256.   running TLC2GDS since you only have to modify any parameters.
  257.  
  258.   Important: It is not guaranteed that future versions of TLC2GDS or
  259.     GDS2TLC will have the same SET file format. If you see obvious errors
  260.     in the setup values, just erase the old SET file, run the program again
  261.     and modify the default values.
  262.  
  263.  Errors and Warnings
  264.  
  265.   Most errors ar self-explaining. The warnings that TLC2GDS lists as it
  266.   converts are as follows:
  267.  
  268.   "TLC and Setup LASI Units do not Agree" means you are changing the LASI
  269.   units to something different than what is written in the header of the
  270.   TLC files you are converting. This may or may not be a useful thing to
  271.   do, and will generally result in an oddly sized GDS drawing. To use the
  272.   TLC header units, leave Physical Unit or LASI Units per Phys Unit blank.
  273.  
  274.   "Resolution Lost ..." means that the Rescale Ratio was not an integer.
  275.   It is possible that a LASI coordinate will not fall exactly on a GDS
  276.   coordinate. Usually this is not  a serious problem, because the GDS units
  277.   are usually much larger than the LASI units, so only a error that is a
  278.   small fraction of a LASI unit will be made.
  279.  
  280.   "Duplicate Vertex Removed at ..." means that more than one consecutive
  281.   vertex was found at the same location in a poly or path. The extra vertex
  282.   was removed in the stream file.
  283.  
  284.   "More that 200 Vertices at ..." means that the limit of 200 vertices in
  285.   the stream format for a single boundary or path was exceeded. The
  286.   boundary or path WILL NOT be truncated but will be converted to stream
  287.   anyway. This may not be acceptable to other stream reading programs, but
  288.   will convert back using GDS2TLC. To correct this problem, go to your
  289.   layout and break up the poly into smaller closed polygons or break the
  290.   path into smaller segments.
  291.  
  292.   "Crushed Box (Removed) at ..." means that a box with opposite sides
  293.   superimposed was found (and not converted).
  294.  
  295.   "Single Point Removed at ..." means that a poly or path with a single
  296.   vertex was found and not converted.
  297.  
  298.   "Acute Poly/Path Angle at ..." means that a polygon or path was found
  299.   with an acute angle in it. Generally, acute angles indicate shapes that
  300.   may be hard to reproduce, or polygons or paths that have been folded back
  301.   on themselves.
  302.  
  303.   "Poly Line Segment (Removed) at ..." means that a two vertex polygon was
  304.   found (and the line was not converted).
  305.  
  306.   "Open Poly (Closed) at ..." means that the first and last points of a
  307.   polygon were not the same (and a new point was added to close the poly).
  308.  
  309.   "Coincident Vertices at ..." means that two or more vertices in a single
  310.   poly or path were at the same location. These vertices need not be
  311.   sequential. This is just a warning that the boundary or path might not be
  312.   a legal figure.
  313.  
  314.   Note: The X=,Y= reported is always the first point of a poly or path or
  315.     the lower left corner of a box. L= is the layer.
  316.  
  317. Converting GDS to TLC (GDS2TLC)
  318.  
  319.  Page 1 - Conversion Setup
  320.  
  321.   Nornally run GDS2TLC.EXE in the drawing directory of the drawing to be
  322.   reconstructed from stream format.
  323.  
  324.   GDS2TLC will start with the Conversion Setup page. It requires the
  325.   following entries:
  326.  
  327.   ■ Name of the GDS File to Convert. The extension of the file name is
  328.     arbitrary, but is usually ".GDS" or ".CSF". The name may also include a
  329.     path.
  330.  
  331.   ■ Path (or destination) of the TLC Files to be Made. If you want the
  332.     files in the current directory leave this blank.
  333.  
  334.   ■ Physical Unit (um or mil). This is the physical unit in which the GDS
  335.     drawing has been done. This can only be "um" or "mil", and will default
  336.     to "um".
  337.  
  338.   ■ LASI Units per Phys Unit. This is scale you intend to use in your
  339.     converted LASI layout drawing. It is the same scale you set using the
  340.     SCALE command when you begin a LASI drawing.
  341.  
  342.   ■ X and Y Drawing Offsets. These are in physical units and are to be
  343.     added to the placement of the "main" cells in the TLC files. This
  344.     allows you to shift the position of GDS drawings in the TLC files.
  345.  
  346.     This shift is only applied to cells listed in the Structures to Offset
  347.     list (see below). That is, any lesser cells that GDS2TLC also generates
  348.     are not shifted, since this would cause your drawing to be hopelessly
  349.     distorted.
  350.  
  351.   ■ Accept GDS Layers. If you don't want some of the GDS layers you can
  352.     filter them out. List the layers the same way that you list layers in
  353.     the LASI VIEW and OPEN commands, that is, using numbers and dashes
  354.     separated by spaces. For all layers just enter "-". Note that GDS
  355.     layers are 0-63.
  356.  
  357.   ■ Accept GDS Datatypes. For all datatypes enter "-". Note that datatypes
  358.     are 0-63.
  359.  
  360.   ■ Convert GDS Text. If you want to convert any text in the GDS file set
  361.     this to "Y".
  362.  
  363.   ■ Check for Open Poly. GDS2TLC will compares the first and last vertices
  364.     of GDS boundaries. If they are different, GDS2TLC does not close the
  365.     converted polygon, but leaves it open and displays a warning message.
  366.     Set this to "N" if you want to bypass this check.
  367.  
  368.   ■ Replace Old TLC Files. GDS2TLC checks if a TLC file is already present
  369.     the destination directory. If the TLC file is present, this switch will
  370.     prevent it from being rewritten. If the TLC file for a cell is missing
  371.     it will always be written.
  372.  
  373.   ■ Clear Optional Records. This needs a little explanation. GDS elements
  374.     (boundaries, paths, etc.) can have optional records in their
  375.     construction (width for paths, for example). An optional record that
  376.     sets a parameter may or may not appear in the stream before an element
  377.     is to be made. The value of the parameter needs to default to
  378.     something, which could be the parameter set by a previous record (in
  379.     another element) or the parameter can default to "no effect". Most of
  380.     the time set this switch to "Y", and only try "N" if there is an
  381.     obvious error in the conversion.
  382.  
  383.   ■ Manually Rename Structures. The names of GDS structure may have come
  384.     from a UNIX system that can have non-DOS names, that is, they may be
  385.     longer than 8 characters and may contain characters that are illegal in
  386.     MS-DOS filenames. If this is set to "N" then GDS2TLC will try to modify
  387.     any illegal names by truncating from the left and removing any illegal
  388.     characters. If this fails, it will ask for you to enter a new name for
  389.     a structure. If you set this to "Y", GDS2TLC will immediately ask for a
  390.     new name without trying to modify the name.
  391.  
  392.   ■ Convert Boundaries to Boxes. If the GDS file contains boundaries that
  393.     have exactly 5 vertices and form a rectangle, you can convert these to
  394.     LASI boxes, otherwise they will convert to 4-sided polygons.
  395.  
  396.   ■ Recognize CR or LF as NL. Different CAD systems may use either CR
  397.     (carriage return) or LF (line feed) as indicators of a new line in
  398.     their text. LASI has single line text, but GDS2TLC can break multi-line
  399.     text into individual LASI text lines.
  400.  
  401.   ■ Relocate Layer 0 to Layer. Since LASI does not use layer 0, you must
  402.     move anything on that layer to some LASI layer. Normally, this will
  403.     default to 64, but you can set the layer 1 to 64.
  404.  
  405.   ■ Make CELLS.REF File. You can generate a list of the converted cells in
  406.     a CELLS.REF file. This is the same as TLCOUT.EXE generates, and is
  407.     useful if you are converting a large number of unrelated cells. This
  408.     file will be made in the same directory as the TLC files.
  409.  
  410.   ■ Report Destination. This allows you to print or save a conversion
  411.     report. The parameter must be one of the printers "LPT1", "LPT2",
  412.     "LPT3" or "PRN" (=LPT1), "FILE" for the file GDS2TLC.RPT or blank for
  413.     no report.
  414.  
  415.   If the Report Destination is blank, and a message occurs, the program
  416.   will pause and wait for a key to be pressed. Otherwise, there will be no
  417.   pause and the message will be written to the report.
  418.  
  419.  Page 2 - Text Setup
  420.  
  421.   Press ALT-T or click "Text" to go to Page 2, the Text Setup Page.
  422.  
  423.   To convert text, first set the four LASI Text Sizes in physical units.
  424.   The text sizes that you set will be in multiples of smallest LASI
  425.   physical scale unit. These sizes will be rounded automatically by the
  426.   LASI drawing program to the actual discrete text sizes used in LASI
  427.   drawings, but you may enter any size that is "close" to the size that you
  428.   want.
  429.  
  430.   Several attributes can be used to construct text. The attributes that
  431.   GDS2TLC can use are:
  432.  
  433.   ■ Font, which can be 0 to 3.
  434.  
  435.   ■ Texttype, which can be 0 to 63.
  436.  
  437.   ■ Magnification, which can be used to change text size if the other
  438.     parameters produce text of the same size.
  439.  
  440.   ■ Orientation, which allows text to be rotated in 90 deg increments and
  441.     be flipped.
  442.  
  443.   ■ Vertical Justification, which can be top, center or bottom (T,C or B).
  444.     LASI text is always left-bottom justified, but if center or top
  445.     justification is found in the GDS file, a displacement will be added to
  446.     the position of the LASI text.
  447.  
  448.   ■ Horizontal Justification is always changed to left.
  449.  
  450.   You can relate the four LASI Text Sizes to either Font or Texttype. Font
  451.   is given first priority. Setting Font or Texttype to "-" causes that
  452.   attribute to be ignored. Setting both to "-" defaults to minimum size,
  453.   but still converts text.
  454.  
  455.   If you use Magnification, the text size will be further magnified by the
  456.   MAG records found in the GDS file. If not set, magnification will be 1.0.
  457.  
  458.   If you use Orientation, the text will be rotated and flipped by the the
  459.   ANGLE and STRANS records. If not set, text will be angle 0 and unflipped.
  460.  
  461.   If you use Justification, the text will be moved vertically as if the
  462.   text's reference point was at the top, center or bottom of the text using
  463.   the information in the PRESENTATION records.
  464.  
  465.   Some experimentation will probably be necessary to convert text
  466.   reasonably correctly.
  467.  
  468.  Page 3 - Structures Setup
  469.  
  470.   Press ALT-S or click "Struct" to go to Page 3, the Structures Setup Page.
  471.  
  472.   There are two lists on this page:
  473.  
  474.   ■ Structures to Omit. Enter the names of any GDS structures that you
  475.     don't want to be converted. GDS2TLC will simply read over these
  476.     structures and not produce any TLC files.
  477.  
  478.   ■ Structures to Offset. GDS2TLC will add the offset that you set on the
  479.     first setup page (above) to the placements of cells, boxes, paths and
  480.     text in the listed structures when they convert to TLC. This allows you
  481.     to move LASI cells to better locations.
  482.  
  483.   For example, you may get a GDS drawing made for a pattern generator that
  484.   only accepts coordinates greater than or equal to zero, you can add
  485.   negative offsets to the drawing coordinates so that the LASI drawing will
  486.   be centered in the LASI drawing area, and you can use the full LASI
  487.   drawing area.
  488.  
  489.  Starting Conversion
  490.  
  491.   When you are happy with the setup, press ALT-G or click "Go" to start
  492.   conversion. The main processes will be indicated as the program runs. A
  493.   count of the TLC objects will be displayed and will be written to the
  494.   report. It is a good idea to make a report for future reference.
  495.  
  496.   Note: The counts show the actual number of TLC object records. The
  497.     (Vertex) count shows how many vertices will be needed when the TLC
  498.     objects are changed to internal LASI object records.
  499.  
  500.   If you have previously run GDS2TLC, there will be a setup file in the
  501.   drawing directory named GDS2TLC.SET. If this is found, the setup
  502.   parameters will be loaded when you first run GDS2TLC, and will be stored
  503.   again as you start the conversion. This saves a great deal of time when
  504.   running GDS2TLC since you only have to modify any parameters.
  505.  
  506.  Scale Conversion
  507.  
  508.   As GDS2TLC converts each individual structure, it checks each dimension
  509.   (4-byte signed integer) for the least resolution (or coarsest grid) that
  510.   will fit that particular structure. As it converts structures, it
  511.   determines the least resolution that will convert ALL structures
  512.   correctly, and displays it as the Minimum Feature size in the Scale Bar
  513.   at the bottom of the screen. The number of LASI units needed to convert
  514.   ALL structures is the reciprocal of the Minimum Feature.
  515.  
  516.   If you don't need the resolution of the original GDS drawing, you can set
  517.   the LASI units to less than the GDS units. An example of this is when the
  518.   original GDS contains arcs that were made with a resolution of a single
  519.   grid unit. Usually you can use a much coarser grid, since when made into
  520.   photomasks, the resolution will be no better than the mask making
  521.   equipment.
  522.  
  523.   If you get a "Resolution Lost" warning, the LASI Units that were set
  524.   caused some original GDS coordinate position to be misplaced. The new
  525.   coordinate will be rounded to the LASI grid. Read Errors and Warnings.
  526.  
  527.   Note: Path widths in a GDS file (WIDTH records) should be drawn to HALF
  528.     the resolution of position coordinates (XY records). If they are not,
  529.     you can have the situation where the path sides will be on half LASI
  530.     basic unit positions. LASI will tolerate this, but the sides will be
  531.     drawn on either higher or lower basic unit positions, or a path side
  532.     will be tilted between different basic units at either end. If this
  533.     happens you should double your LASI Units.
  534.  
  535.  Conversion Process
  536.  
  537.   To convert from Stream Format, GDS2TLC goes through several processes to
  538.   determine the criterion it will use to convert.
  539.  
  540.   GDS2TLC first scans the GDS file several times to determine a hierarchy
  541.   of cells. It also tries to convert structure names to names that are
  542.   MS-DOS acceptable. If a name is found that is a reserved word such as
  543.   "PRN", or the name contains characters that are illegal in MS-DOS such as
  544.   "*", depending on the setup switch (above), you will be asked for a
  545.   substitute name. You will be continuously asked until you give an
  546.   acceptable name.
  547.  
  548.   GDS2TLC will search the current directory for the TLC cell file of a cell
  549.   that might not exist as a structure in the GDS file, but still be used in
  550.   other structures in the GDS file. This allows the TLC file of a cell to
  551.   be reconstructed without the lesser cells being present as structures in
  552.   the GDS file. The only requirement is that the TLC files of its lesser
  553.   cells exist already in the drawing directory.
  554.  
  555.   After the scanning has been done to establish hierarchy and the presence
  556.   of TLC files, a list of the cellnames, their rank, the presence of the
  557.   structure in the GDS file, the presence of a TLC file in the directory
  558.   and the structure name is printed. Different colors are used to indicate
  559.   the presence of GDS and TLC. Red indicates that a cell is missing.
  560.  
  561.   As explained above, if a TLC file is already present, it is retained even
  562.   though the structure may exist in the GDS file. To have a new TLC file
  563.   generated, the old TLC file must be deleted from the current directory,
  564.   or the option of replacing all TLC files must be used when running
  565.   GDS2TLC.
  566.  
  567.   If a LESSER cell does not exist as a structure in the GDS file, and the
  568.   lesser's TLC file does not exist in the destination directory, then the
  569.   name of the expected cell is inserted as TEXT into the TLC file being
  570.   made and a warning message is given.
  571.  
  572.  Errors and Warnings
  573.  
  574.   Most errors ar self-explaining. The warnings that GDS2TLC lists as it
  575.   converts are as follows:
  576.  
  577.   "Open Poly at ..." means that the first and last points of a boundary
  578.   converted to a polygon were not the same.
  579.  
  580.   Note: The X=,Y= reported is always the first point of a poly or path or
  581.     the lower left corner of a box. L= is the layer.
  582.  
  583.   "Resolution Lost ..." means that the number of LASI Units per Phys Unit
  584.   was incorrect for the GDS dimensions. The number of LASI units may have
  585.   been too small, or the LASI grid may have been the wrong size to fit the
  586.   GDS dimensions exactly. The number given is the minimum number of LASI
  587.   basic units that are needed. LASI units that are an INTEGRAL multiple of
  588.   the number will also be correct.
  589.  
  590.   "(Object) Limit Reached". A GDS structure converted to more boxes, paths,
  591.   vertices or cells than LASI has been designed. If you exceed the poly or
  592.   vertex limit, and if you have not already done it, try converting 4-sided
  593.   boundaries to boxes instead of polygons.
  594.  
  595.   "Structure is Missing ... Token Cell Made". GDS2TLC was unable to find
  596.   the definition of a structure used as an SREF in other structures.
  597.   GDS2TLC made a TLC file of a cell consisting of the text: "<<name>>".
  598.  
  599.   "Stream (Record Length, Record Type, Data Type) is Wrong". Your GDS file
  600.   has an error in its basic format - you need a new GDS file.
  601.  
  602.   "Fatal Error ... Unrecognized Record Type". The GDS file had a coding
  603.   error or a record type that GDS2TLC didn't know about. Send the GDS file
  604.   to the author if possible.
  605.  
  606.   "Fatal Error ... Data Type Error". A type of data was read that was not
  607.   0-6 as expected in the GDS format. File is probably corrupted.
  608.  
  609.   "String Data Length Exceeds Allocation". ASCII string data was found that
  610.   was longer than 32 characters for names and 512 characters for general
  611.   strings. The string was truncated.
  612.  
  613.   "Too Many Structures in GDS File". The internal limit of 1600 different
  614.   structures in the GDS file was exceeded. Try breaking the GDS file into
  615.   smaller files with fewer unrelated structures, if possible.
  616.  
  617.  Possible Problems
  618.  
  619.   Converting from Stream Format is a little tricky because there are data
  620.   forms in GDS that are unique and hard to carry over into LASI. These are
  621.   some of the known problems:
  622.  
  623.   1. When converting from GDS to LASI, if any structures are missing and a
  624.      TLC file is not present, there is no way to tell if the missing
  625.      structures or TLC files contain other missing structures or cells.
  626.  
  627.   2. Presently, arrays of objects do not exist in LASI. Therefore, when
  628.      converting from GDS, GDS2TLC makes arrays by copying cells. This can
  629.      fill the LASI cell capacity if you don't watch out.
  630.  
  631.   3. When GDS2TLC encounters text in a GDS file, it ignores justification
  632.      and breaks down any multi-line text into single line LASI text
  633.      objects. This means that your translated text may not be located
  634.      exactly in the same place. You should also use only single line
  635.      left-justified text on the other drawing system if you intend to bring
  636.      it into LASI.
  637.  
  638.   4. Some features of GDS are presently simply ignored, such as stretched
  639.      components, and nodes.
  640.  
  641.   5. If you abort while GDS2TLC is making a TLC file you will probably get
  642.      an incomplete file. Erase it.
  643.  
  644. Parameter Line Editor
  645.  
  646.  Parameter Line Editor
  647.  
  648.   Both programs now use a simple line editor that resembles the editor used
  649.   with Windows. The editor operates as follows:
  650.  
  651.   ■ To move from parameter to parameter, press the UP/DOWN ARROW keys,
  652.     (SHIFT)TAB, or click the mouse on a parameter.
  653.  
  654.   ■ Press PGUP/PGDN to move to the first or last parameter.
  655.  
  656.   ■ Press LEFT/RIGHT ARROW to move the text cursor left or right.
  657.  
  658.   ■ Press HOME/END to move the cursor to the beginning or end of a line.
  659.  
  660.   ■ Press BACKSPACE to erase a character to the left of the cursor.
  661.  
  662.   ■ Press DELETE to erase the character to the right of the cursor.
  663.  
  664.   ■ Press CTRL-BACKSPACE to completely erase a text line.
  665.  
  666.   ■ When you first select a parameter, typing any printable character other
  667.     than SPACE or LEFT/RIGHT ARROW will replace the whole text line.
  668.  
  669.   ■ Press ENTER to return to the main page.
  670.  
  671.   ■ If you make a mistake press ESC to restore the original text.
  672.  
  673.